package one;

import com.google.gson.annotations.Expose;

/**
 * @author wangpp
 */
public class Car {
    //    @Expose( deserialize = false, serialize = false )
    private /*transient*/ String brand;

    //    @Expose( deserialize = true, serialize = true )
    private int doors;

    public Car() {
    }

    public Car(String brand, int doors) {
        this.brand = brand;
        this.doors = doors;
    }

    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", doors=" + doors +
                '}';
    }
}
